<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>form</title>
    <script th:src="@{/jquery-1.8.0.min.js}" src="/jquery-1.8.0.min.js"></script>
    <script th:src="@{/form.js}"></script>
</head>
<body>
<form name="action" id="action" method="post">
    <input type="text" name="id" value="abcd"/>
    <input type="text" name="users[4].username" value="zhangsan"/>
    <input type="text" name="users[4].password" value="123445"/>
    <input type="text" name="users[1].username" value="lisi"/>
    <input type="text" name="users[1].password" value="23456"/>
    <input type="text" name="users[2].username" value="wangwu"/>
    <input type="text" name="users[2].password" value="34567"/>
    <input type="text" name="users[3].username" value="wangmazi"/>
    <input type="text" name="users[3].password" value="7655"/>
    <input type="button" id="go" value="提交"/>
</form>
<div id="result">

</div>
</body>
</html>